<template>
    <header class="header">
        <span class="header-span">历史上的今天</span>
    </header>
</template>

<script>
export default {
    name: "Header"
}
</script>

<style scoped>
.header {
    height: 40px;
    background-color: #007bff;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin-bottom: 2%;
}

.header-span {
    display: flex;
    user-select: none;
    font-size: 15px;
    height: 100%;
    align-items: center;
    justify-content: center;
}
</style>